

import { postRequest } from '@/lib/axios';
import { USER, CHANNEL, GAMES, ORDER } from '@/config/api-constant/sdk'


// 获取用户

export const usersApi = (param) => {
    return postRequest(USER, param)
}

//获取游戏发行渠道

export const channelApi = (param) => {
    return postRequest(CHANNEL, param)
}
// 获取游戏信息表
export const gamesApi = (param) => {
    return postRequest(GAMES, param)
}
//获取充值订单
export const orderApi = (param) => {
    return postRequest(ORDER, param)
}